package com.score.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class TFiveone {
    @ApiModelProperty("五个一作业ID")
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("学生名字")
    private String name;
    @ApiModelProperty("学号")
    private String stuNum;
    @ApiModelProperty("班级名称")
    private String className;
    @ApiModelProperty("学院")
    private String college;
    @ApiModelProperty("班主任名称")
    private String headmasterName;
    @ApiModelProperty("上传时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date uploadTime;
    @ApiModelProperty("文件地址")
    private String workAddress;
    @ApiModelProperty("学期")
    private String semester;//学期

}
